<html>
	<head>
		<title>Welcome to GASCIAN</title>
		<?php 
			$this->load->view('partial/headlinks');
		?>
		<link href="<?php echo base_url();?>application/css/js-image-slider.css" rel="stylesheet" type="text/css" />
		<script src="<?php echo base_url();?>application/script/lib/js-image-slider.js" type="text/javascript"></script>

	</head>
	<body>
		<div id="doc-container" class="width-normal margin-auto">
			<div id="inner-doc-container" class="">
				<?php 
					$this->load->view('partial/header');
				?>
				<?php 
					$this->load->view('partial/navmenu');
				?>
				
				<div class="hr margin"></div>
				Already a Member Please <a href="<?php echo base_url();?>register/login/">Login!</a>
				<form name="registration" class="registration_form registerSubmit" method="POST" action="">
					<h1>Member Registration</h1>
					<fieldset>
						<legend>Login details</legend>
						<!-- <div class="field-row">
						<label for="family_name">User name: </label>
						<input name="family_name" id="family_name"  maxlength="50" type="text"/>
						</div>--><!-- field-row -->
						<input type="hidden" name="doNext" value="<?php echo (isset($doNext)?$doNext:"");?>">
						<div class="field-row">
							<label for="email">E-mail address: </label>
							<input class="required email"  name="email" id="email" type="text">
							<div class="error requiredError">
								The above field is required
							</div>
							<div class="error correctData">
								Please enter correct value
							</div>
						</div><!-- field-row -->
						
						<div class="field-row">
							<label for="password">New Password: </label>
							<input class="required"  name="password" id="password" maxlength="50" value="" type="password">
							<div class="error requiredError">
								The above field is required
							</div>
						</div><!-- field-row -->
						
						<!-- <div class="field-row">
							<label for="cpassword">Confirm password:</label>
							<input name="cpassword" id="cpassword" maxlength="50" value="" type="password">
						</div> --><!-- field-row -->
					</fieldset>
				
					<?php 
						$this->load->view("partial/registration");
					?>
				    <input class="button button-primary" value="Register" name="Submit" type="submit">
					<br/><br/>
				</form>
			</div><!-- inner-doc-container -->
		</div><!-- doc-container -->
		<?php 
		$this->load->view('partial/footer');
		?>		
	
	<!-- 
		<input type="button" class="button button-primary button-small" value="Submit"/>
	 -->
	 
	 <script type="text/javascript">
	 $(document).ready(function(){
		 bindValidation("registerSubmit");
	 });
	 </script>
	 
	</body>
</html>
